home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8393 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  940 b 

  1. Path: isonews.bbn.hp.com!hpbblb!news
  2. From: Matthias Dittrich <matti>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Hiding a password
  5. Date: 4 Mar 1996 07:28:00 GMT
  6. Organization: Hewlett-Packard Co.
  7. Message-ID: <4he620$qf2@hpbblb.bbn.hp.com>
  8. References: <1996Feb29.224936.137160@forest>
  9. NNTP-Posting-Host: trabant.bbn.hp.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.1N (X11; I; HP-UX A.09.07 9000/712)
  14. X-URL: news:1996Feb29.224936.137160@forest
  15.  
  16. ebromber@forest.drew.edu wrote:
  17. >I recently wrote a password program. However, there is one little flaw I 
  18. >want to fix. When the password is entered, it is visible on the screen. I 
  19. >was wondering if anyone knows how to hide the password by  printing 
  20. >asterisks instead of the actual character. 
  21. >Thanks in advance.
  22. >
  23. Switch echo off using ioctl function and if you want so, write asterisks
  24. on your terminal.
  25.  
  26. Good luck,
  27. Matthias
  28.  
  29.